package slu.appli.tools.parser.stringparser.impl;

import slu.appli.tools.parser.stringparser.impl.model.AbstractModelBuilder;

public class SysoModelBuilder
extends AbstractModelBuilder {

	private void print(Object obj) { 
		StringBuilder sb = new StringBuilder();
		for (int i=0; i < this.getLevel(); i++) sb.append(" ");
		sb.append(obj == null ? "NULL" : obj.toString());
		System.out.println(sb);
	}
	
	public void addItem(Object item) {
		this.print(item);
	}

	public void clear() {
	}

	public Object getDataContext() {
		return null;
	}

	public void setDataContext(Object dataContext) {
	}

}
